package org.lex.input.effects;

import com.jme.math.Vector3f;

public interface Plane {

	/**
	 * Projects (using orthogonal projection) the given points onto
	 * the 2 dimensional plane and finds the length of the resulting vector.
	 * 
	 * @param p1
	 * @param p2
	 * @return the distance between projections of p1 and p2 onto the plane
	 */
	public float findPlanarDistance(Vector3f p1, Vector3f p2);

	public float getHeightOf(Vector3f v);

	public void setHeightOf(Vector3f v, float height);

}